package Studentlei;

public class Att {
    String sname;
    String aid;
    String time;
    String type;

    public Att() {
    }

    public Att(String sname, String time, String type) {
        this.sname = sname;
        this.time = time;
        this.type = type;
    }

    public Att(String sname, String aid, String time, String type) {
        this.sname = sname;
        this.aid = aid;
        this.time = time;
        this.type = type;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Att{" +
                "sname='" + sname + '\'' +
                ", aid='" + aid + '\'' +
                ", time='" + time + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
